package liy.demo.wikiproject.mapper;

import java.util.List;
import liy.demo.wikiproject.domain.Doc;

public interface DocMapper {

    int deleteByPrimaryKey(Long id);


    int insert(Doc record);


    Doc selectByPrimaryKey(Long id);


    List<Doc> selectAll();


    List<Doc> selectByEbookId(Long ebookId);
    int updateByPrimaryKey(Doc record);
}